<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>swig</Name>
        <Homepage>http://www.swig.org/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <PartOf>programming.library</PartOf>
        <License>GPLv3+</License>
        <License>BSD</License>
        <IsA>app:console</IsA>
        <IsA>library</IsA>
        <Summary>Connects C/C++/Objective C to some high-level programming languages</Summary>
        <Description>Simplified Wrapper and Interface Generator, SWIG is a software development tool that connects programs written in C and C++ with a variety of high-level programming languages. SWIG is used with different types of languages including common scripting languages such as Perl, PHP, Python, Tcl, Ruby and PHP</Description>
        <Archive sha1sum="ced6676c625c49d78d73cbd3b9aaab8c30b9b4ee" type="targz">mirrors://sourceforge/swig/swig/swig-4.0.2/swig-4.0.2.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>perl</Dependency>
            <Dependency>zlib-devel</Dependency>
            <Dependency>ruby-devel</Dependency>
            <Dependency>boost-devel</Dependency>
            <Dependency>libpcre-devel</Dependency>
            <Dependency>python3-devel</Dependency>
        </BuildDependencies>
        <Patches>
            <!-- Fix code generated for Ruby global variables https://github.com/swig/swig/issues/1668 -->
<!--             <Patch>swig-4.0.1-Fix-code-generated-for-Ruby-global-variables.patch</Patch> -->
            <!-- Add support for Ruby 2.7 https://github.com/swig/swig/pull/1692 -->
<!--             <Patch>swig-4.0.1-Add-support-for-Ruby-2.7.patch</Patch> -->
            <!-- Fix crash in Python backend when using empty docstrings https://github.com/swig/swig/pull/1710 -->
<!--             <Patch>swig-4.0.1-Fix-crash-in-Python-backend-when-using-empty-docstrings.patch</Patch> -->
            <!-- Upgrade SWIG to support NodeJS v12 / V8 v7.6, v8 v7.8 runtime https://github.com/swig/swig/pull/1702 -->
            <Patch>swig-Upgrade-to-support-newer-NodeJS.patch</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>swig</Name>
        <Summary>Connects C/C++/Objective C to some high-level programming languages</Summary>
        <RuntimeDependencies>
            <Dependency>zlib</Dependency>
            <Dependency>libgcc</Dependency>
            <Dependency>libpcre</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="man">/usr/share/man</Path>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="data">/usr/share/swig</Path>
        </Files>
    </Package>

    <History>
        <Update release="10">
            <Date>2021-03-11</Date>
            <Version>4.0.2</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="9">
            <Date>2021-03-11</Date>
            <Version>4.0.1</Version>
            <Comment>Rebuild</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="8">
            <Date>2020-11-07</Date>
            <Version>4.0.1</Version>
            <Comment>Rebuild</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="7">
            <Date>2020-05-18</Date>
            <Version>4.0.1</Version>
            <Comment>Rebuild due to new ruby version</Comment>
            <Name>Blue Devil</Name>
            <Email>bluedevil@sctzine.com</Email>
        </Update>
        <Update release="6">
            <Date>2020-01-09</Date>
            <Version>4.0.1</Version>
            <Comment>Version bump.</Comment>
            <Name>Kamil Atlı</Name>
            <Email>suvari@pisilinux.org</Email>
        </Update>
        <Update release="5">
            <Date>2018-07-25</Date>
            <Version>3.0.12</Version>
            <Comment>Version bump.</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="4">
            <Date>2018-03-22</Date>
            <Version>3.0.11</Version>
            <Comment>Rebuild.</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="3">
            <Date>2017-01-28</Date>
            <Version>3.0.11</Version>
            <Comment>Version Bump</Comment>
            <Name>Kamil Atlı</Name>
            <Email>suvari@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-09</Date>
            <Version>3.0.2</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2014-12-22</Date>
            <Version>3.0.2</Version>
            <Comment>First release</Comment>
            <Name>Yusuf Aydemir</Name>
            <Email>yusuf.aydemir@pisilinux.org</Email>
        </Update>
    </History>
</PISI>
